package com.platform.api.bzproject.dao;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.platform.api.bzproject.model.DistributionProfit;
import org.apache.ibatis.annotations.Param;

import java.math.BigDecimal;
import java.util.List;
import java.util.Map;

/**
 * <p>
 * 分销收益表 Mapper 接口
 * </p>
 *
 * @author guoshao
 * @since 2021-12-10
 */
public interface DistributionProfitMapper extends BaseMapper<DistributionProfit> {


    List<DistributionProfit> selectDistributionProfitList(DistributionProfit balanceRecord);

    List<DistributionProfit> selectAllProfitList(DistributionProfit balanceRecord);

    BigDecimal selectSumMoney(DistributionProfit profit);

    List<Long> getRandId(Map<String,Object> map);

}
